package com.tcd.policy.mapper;

import com.tcd.Policy.pojo.RecognizeeInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 被保人信息表 Mapper 接口
 * </p>
 *
 * @author cz
 * @since 2021-05-26
 */
public interface RecognizeeInfoMapper extends BaseMapper<RecognizeeInfo> {

    public RecognizeeInfo selectrecognizeeInfoById(String id);

    public String selectrecognizeeInfoByName(String policyholdersName);

    public List<RecognizeeInfo> selectRecognizeeInfoByinsurancestatus(@Param(value = "pageIndex") Integer pageIndex, @Param(value = "pageSize") Integer pageSize, @Param(value = "recognizeeName") String recognizeeName);

    Integer selectRecognizeeInfoByinsurancestatusCount(String recognizeeName);
}
